package com.sodimac.v2s.business
{
 	import com.adobe.cairngorm.business.Responder;
 	import com.adobe.cairngorm.business.ServiceLocator;
 	
 	import mx.rpc.AsyncToken;
 	import mx.rpc.IResponder;
 	import mx.rpc.http.HTTPService;	
	
	public class PropertiesDelegate
	{

		private var servicio:HTTPService;
		private var responder:IResponder;		
		
		public function PropertiesDelegate(respuesta:IResponder)
		{
			servicio = ServiceLocator.getInstance().getHTTPService("propertiesFile");
			responder = respuesta;
		}

		public function loadDatos():void
		{
			var token:AsyncToken = servicio.send();
			token.addResponder(responder);
		}

	}
}

	